<#if type == "localhost">
{"message":"${message}","random":"${random}"}
<#elseif type == "post">
{"message":"${message}","random":"${random}"}
<#elseif type == "remote">
var remote_request = {"message":"${message}","random":"${random}"};
</#if>